﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="BasWarehouseInfoList.aspx.cs" Inherits="JYH.Web.MES.BAS.UI.BasWarehouseInfo" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <title>仓库信息</title>
</head>
 <script type="text/javascript" src="../JS/BasWarehouseInfoList.js"></script>
<body>
 <form id="form1" runat="server">
    <%--排序隐藏值--%>
    <!-- 字段-->
    <asp:HiddenField runat="server" ID="hSort" />
    <!-- 排序-->
    <asp:HiddenField runat="server" ID="hOrder" />
    <asp:HiddenField ID="hWarehouseID" runat="server" />
    <div class="easyui-layout layout-container" style="width: 100%; height: 810px;">
        <%--左侧视图--%>
        <div id="p" data-options="region:'west'" title="仓库列表" style="width: 40%;">
            <div class="pagebox">
                <div class="cbox">
                    <!--工具栏-->
                    <div class="easyui-panel" style="padding: 15px; width: 100%;">
                        <div id="tb">
                            <ul class="flist">
                                <li>
                                    <input class="easyui-textbox" type="text" id="txtWarehouseNO" data-options="prompt:'请输入仓库编号'" style="width: 250px; height: 35px; line-height: 35px;" /></li>
                                <li>
                                    <input class="easyui-textbox" type="text" id="txtWarehouseName" data-options="prompt:'请输入仓库名称'" style="width: 250px; height: 35px; line-height: 35px;" /></li>
                            </ul>
                            <div>
                                <a href="#" class="easyui-linkbutton c1" onclick="loadLocal()" data-options="iconCls:'icon-sousuo',selected:true">查询</a>
                                <a href="#" class="easyui-linkbutton c4" data-options="iconCls:'icon-tianjia'" onclick="IndexOpen()">新增</a>
                                <a href="#" class="easyui-linkbutton c2" data-options="iconCls:'icon-buchongiconsvg13'" onclick="Delet()">删除</a>

                            </div>

                        </div>
                    </div>
                </div>
                <div class="cbox">
                    <!--查询结果清单-->
                    <table id="table1" data-options="
                                              rownumbers:true,
                                              singleSelect:true,
                                              pagination: true,
                                              autoRowHeight:false,
                                              fitColumns:true,
                                              pageSize:20"
                        style="width: 100%">
                        <thead>
                            <tr>
                                <th field="WarehouseID" checkbox="true"></th>
                                <th field="WarehouseNO" width="80" data-options="sortable:true">仓库编号</th>
                                <th field="WarehouseName" width="100" data-options="sortable:true">仓库名称</th>
                                <th field="CreateTime"  data-options="sortable:true">创建时间</th>
                                <th field="CreateUser" width=" 80">创建人员</th>
                            </tr>
                        </thead>
                    </table>
                </div>
            </div>
        </div>

        <%--右侧视图--%>
        <div data-options="region:'center'" title="库位列表">
            <div class="pagebox">
                <div class="cbox">
                    <!--工具栏-->
                    <div class="easyui-panel" style="padding: 15px; width: 100%;">
                        <div id="tb">
                            <ul class="flist">
                                <li>
                                    <input class="easyui-textbox" type="text" id="txtstrNo" data-options="prompt:'请输入储位编号'" style="width: 250px; height: 35px; line-height: 35px;" /></li>
                                <li>
                                    <input class="easyui-textbox" type="text" id="txtwhName" data-options="prompt:'请输入仓库名称'" style="width: 250px; height: 35px; line-height: 35px;" /></li>
                            </ul>
                            <div>
                                <a href="#" class="easyui-linkbutton c1" onclick="PloadLocal()" data-options="iconCls:'icon-sousuo',selected:true">查询</a>
                                <a href="#" class="easyui-linkbutton c4" data-options="iconCls:'icon-tianjia'" onclick="PIndexOpen()">新增</a>
                                <a href="#" class="easyui-linkbutton c2" data-options="iconCls:'icon-buchongiconsvg13'" onclick="PDelet()">删除</a>
                                 <a href="#" class="easyui-linkbutton c7" iconcls="icon-print" plain="true" runat="server" id="saveT" onclick="PrintCode()">打印</a>

                            </div>

                        </div>
                    </div>
                </div>
                <div class="cbox">
                    <!--查询结果清单-->
                    <table id="table2" data-options="
                                              rownumbers:true,
                                              pagination: true,
                                              autoRowHeight:false,
                                              fitColumns:true,
                                              pageSize:20">
                        <thead>
                            <tr>
                                <th field="StorageID" checkbox="true"></th>
                                <th field="StorageNO" width="80" data-options="sortable:true">储位编号</th>
                                <th field="WarehouseNO" width="80">仓库编号</th>
                                <th field="WarehouseName" width="80">仓库编号</th>
                                <th field="CreateUser" width="80">创建人员</th>
                                <th field="CreateTime"  data-options="sortable:true">创建时间</th>
                                <th field="UpdateUser" width="80">修改人员</th>
                                <th field="UpdateTime" >修改时间</th>
                            </tr>
                        </thead>

                    </table>

                </div>
            </div>
        </div>
        <%--左侧抽屉--%>
        <div id="dd" class="easyui-drawer f-column" style="width: 550px;">
            <div style="line-height: 50px; text-align: center; border-bottom: 1px solid #ddd">仓库信息维护</div>
            <div class="f-full">
                <%--<p style="text-align:center;margin:50px 0;font-size:16px">这里显示内容...</p>--%>
                <ul style="margin: 10px;">
                    <li style="margin-bottom: 15px; padding-left: 10px;">
                        <input class="easyui-textbox" id="txtwtno" style="width: 90%; height: 32px;" data-options="label:'仓库编号:'" runat="server"  required/>

                    </li>
                    <li style="margin-bottom: 15px; padding-left: 10px;">
                        <input class="easyui-textbox" id="txtwtname" style="width: 90%; height: 32px;" data-options="label:'仓库名称:'" runat="server" required />
                    </li>

                </ul>
            </div>
            <div style="padding: 5px; text-align: center; border-top: 1px solid #ddd">
                <a href="javascript:;" class="easyui-linkbutton c1" onclick="WarItemSave()">保存</a>
                <a href="javascript:;" class="easyui-linkbutton" onclick="ItemClear()">取消</a>
            </div>
        </div>
    </div>

    <%--右侧抽屉--%>
    <div id="dd2" class="easyui-drawer f-column" style="width: 550px;">
        <div style="line-height: 50px; text-align: center; border-bottom: 1px solid #ddd">库位信息维护</div>
        <div class="f-full">
            <ul style="margin: 10px;">

                <li style="margin-bottom: 15px; padding-left: 10px;">
                    <input class="easyui-textbox" id="txtWhno" style="width: 90%; height: 32px;" data-options="label:'仓库编号:'" runat="server" disabled="disabled" />
                </li>
                <li style="margin-bottom: 15px; padding-left: 10px;">
                    <input class="easyui-textbox" id="txtStno" style="width: 90%; height: 32px;" data-options="label:'储位编号:'" runat="server" />

                </li>

            </ul>
        </div>
        <div style="padding: 5px; text-align: center; border-top: 1px solid #ddd">
            <a href="javascript:;" class="easyui-linkbutton c1" onclick="StrItemSave()">保存</a>
            <a href="javascript:;" class="easyui-linkbutton" onclick="ItemClear()">取消</a>
        </div>
    </div>
</form>
</body>
</html>
